<!DOCTYPE html>
<html>
<head>
    <title>存储过程日志管理</title>
<#import "/common/common.macro.ftl" as netCommon>
<@netCommon.commonStyle />
    <!-- DataTables -->
    <link rel="stylesheet" href="${request.contextPath}/static/adminlte/plugins/datatables/dataTables.bootstrap.css">
    <link rel="stylesheet" href="${request.contextPath}/static/adminlte/plugins/daterangepicker/daterangepicker.css">
    <link rel="stylesheet" href="${request.contextPath}/static/adminlte/plugins/selectPicker/bootstrap-select.min.css">
</head>
<body class="hold-transition skin-blue sidebar-mini <#if cookieMap?exists && "off" == cookieMap["xxljob_adminlte_settings"].value >sidebar-collapse</#if> ">
<div class="wrapper">
    <!-- header -->
<@netCommon.commonHeader />
    <!-- left -->
<@netCommon.commonLeft "procedureLog" />

    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
            <h1>存储过程日志管理<small>任务调度中心</small></h1>
            <!--
<ol class="breadcrumb">
    <li><a><i class="fa fa-dashboard"></i>调度管理</a></li>
    <li class="active">调度中心</li>
</ol>
-->
        </section>

        <!-- Main content -->
        <section class="content">

            <div class="row">
                <div class="col-xs-3">
                    <div class="input-group">
                        <span class="input-group-addon">过程名称</span>
                        <select name="PROCEDURE_NAME" id="PROCEDURE_NAME"  class="form-control selectpicker" data-live-search="true" >
                        <option value="">--请选择--</option>
                    <#list procedureList as list>
                            <option value="${list.VALUE}" <#if PROCEDURE_NAME?exists && PROCEDURE_NAME=="${list.VALUE}" >selected="selected"</#if> >${list.LABLE}</option>
                        </#list>
                        </select>
                    </div>
                </div>

                <div class="col-xs-3">
                    <div class="input-group">
                        <span class="input-group-addon">开始时间</span>
                        <input id="START_TIME"  name="START_TIME" class="form-control"  dateFlag="Y"  >
                    </div>
                </div>
                <div class="col-xs-3">
                    <div class="input-group">
                        <span class="input-group-addon">结束时间</span>
                        <input id="END_TIME"  name="END_TIME" class="form-control" dateFlag="Y"  >                    </div>
                </div>

                <div class="col-xs-1">
                    <button class="btn btn-block btn-info" id="searchBtn" lay-filter="prc-search">搜索</button>
                </div>
                <div class="col-xs-2">
                    <button class="btn btn-block btn-success add" id="deleteLot" type="button">按查询条件清理日志</button>
                </div>
            </div>

            <div class="row">
                <div class="col-xs-12">
                    <div class="box">
                        <div class="box-header hide">
                            <h3 class="box-title">调度列表</h3>
                        </div>
                        <div class="box-body" >
                            <table id="procedure_log_list" class="table table-bordered table-striped" width="100%" >
                                <thead>
                                <th>过程ID</th>
                                <th>过程名称</th>
                                <th>开始时间</th>
                                <th>结束时间</th>
                                <th>影响行数</th>
                                <th>执行时间</th>
                                <th>备注</th>
                                </thead>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </section>
    </div>

    <!-- footer -->
<@netCommon.commonFooter />
</div>

<!-- job新增.模态框 -->

<!-- 更新.模态框  -->


<@netCommon.commonScript />
<!-- DataTables -->
<script src="${request.contextPath}/static/adminlte/plugins/datatables/jquery.dataTables.min.js"></script>
<script src="${request.contextPath}/static/adminlte/plugins/datatables/dataTables.bootstrap.min.js"></script>
<script src="${request.contextPath}/static/plugins/jquery/jquery.validate.min.js"></script>
<!-- moment -->
<script src="${request.contextPath}/static/adminlte/plugins/daterangepicker/moment.min.js"></script>
<script src="${request.contextPath}/static/adminlte/plugins/daterangepicker/daterangepicker.js"></script>
<script src="${request.contextPath}/static/adminlte/plugins/selectPicker/bootstrap-select.min.js"></script>


<script src="${request.contextPath}/static/js/procedure.2.js"></script>
<#assign aaaaa=PROCEDURE_NAME >

<script type="text/javascript">
   console.log('aaaaaaaa:${aaaaa}')
    <#if procedureList?exists>
        console.log('参数')
    </#if>
</script>
</body>
</html>
